package com.mo.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;


public interface MyChannel {
    //生产者
    String output  = "myoutput";
    //消费者
    String input = "myinput";

    @Output("myoutput")
    MessageChannel myoutput();
    @Input("myinput")
    SubscribableChannel myinput();

}
